﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin/Admin.Master" Inherits="System.Web.Mvc.ViewPage<ShopOnline.Models.Product>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <link href="../../Content/Styles/validationEngine.jquery.css" rel="stylesheet" type="text/css" />
    <script src="../../Scripts/jquery-1.6.min.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.validationEngine-en.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.validationEngine.js" type="text/javascript"></script>
         <script>
             jQuery(document).ready(function () {
                 // binds form submission and fields to the validation engine
                 jQuery("#formID").validationEngine();
             });         
        </script>
<div class="w_container m10-tb  fl">
        <div class="w_container fl">
            <div class="titleheader bold fl">
                Administration Session
            </div>
            <div class="titleheader fr">
                Back to <a class="orange" href="/Admin/Index">Cpanel</a></div>
            <div class="w_container titleheader fl align-l">
                <div class="fl">
                    Cpanel |
                </div>
                <div class="orange fl">
                    Chi tiết sản phẩm
                </div>
            </div>
        </div>
       <div class="w_container m10-tb  fl">
            <div class="sub_container fl">
                <form method="post" enctype="multipart/form-data" id="formID" class="formular">
                <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                       Tên sản phẩm
                    </div>
                    <div class="input-item fl">
                        <%=Model.productName %>
                    </div>
                </div>
                <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                        Sơ lược
                    </div>
                    <div class="input-item fl">
                       <%=Model.description %>
                    </div>
                </div>
                <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                       Thông tin sản phẩm
                    </div>
                    <div class="input-item fl">

                      <%=Model.information %>
                    </div>
                </div>
               <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                      Hình ảnh
                    </div>
                    <div class="input-item fl">
                      <img src="../../Content/Products/<%= Model.image %>" width="100px" height="100px" />
                    </div>
                </div>
               <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                       Đơn giá 
                    </div>
                    <div class="input-item fl">
                         <%= Model.unitPrice %>
                    </div>
                </div>
               <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                       Số lượng trong kho hàng
                    </div>
                    <div class="input-item fl">
                         <%= Model.unitInStock %>
                    </div>
                </div>
               <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                       Số lượng đã bán 
                    </div>
                    <div class="input-item fl">
                          <%= Model.unitsOnOrder %>
                    </div>
                </div>
               <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                       Chất lượng  
                    </div>
                    <div class="input-item fl">
                         <%= Model.QuatityPerUnits %>
                    </div>
                </div>
                <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                       Độ ưu tiên  
                    </div>
                    <div class="input-item fl">
                        <%= Model.piority %>
                    </div>
                </div>

               <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                       Hiển thị
                    </div>
                    <div class="input-item fl">
                       <%= Model.show %>
                    </div>
                </div>  
                <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                       Hiển thị Quảng cáo
                    </div>
                    <div class="input-item fl">
                        <%= Model.showAdvert %>
                    </div>
                </div>              
                <div class=" w_container fl m5-tb">
                    <div class=" title-item fl">
                        &nbsp;
                    </div>
                    <div class="input-item fl">
                        <input type="submit" value="Lưu" class="ui-state-default ui-corner-all button fl" />
                        <a class="ui-state-default ui-corner-all button fl" href="/Picture/AdminListPicture">
                            Hủy Bỏ </a>
                    </div>
                </div>
                </form>
            </div>
        </div>
    </div>
</asp:Content>

